#a=15
#b=12345678.1234567
#s='I love Pytho'
#print('a = %05d' % a)
#print('b = %8.3f' % b)
#print('%17s' % s)
#print('%-17.6s' % s)

# import time
# scale = 10
# print('-----------执行开始-----------')
# for i in range(scale):
#     done = '**' * i
#     undone = '..' * (scale - i)
#     percent = i / scale
#     print('{:>4.0%}[{}->{}]'.format(percent,done,undone))
#     time.sleep(0.1)
# print('-----------执行结束-----------')

# strs ='Rain falls  on field  and  tree'
# print(strs)
# split_strs = strs.split()
# print(split_strs)
# join_strs =' '.join(split_strs)
# print(join_strs)


checkStr = input('请输入要判断的字符串：\n')
flag = True
low = 0
high = len(checkStr) - 1
while low < high:
    if checkStr[low] !=checkStr[high]:
        flag = False
        break
    low +=1
    high -= 1
if